package com.zixuan.gulicollege.service_order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @classname: OrderApplication
 * @author: zixuan
 * @date: 2021/5/26 19:05
 * @description:
 */
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.zixuan.gulicollege"})
@MapperScan("com.zixuan.gulicollege.service_order.mapper")
@SpringBootApplication
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
        System.out.println("后台服务启动成功(づ￣ 3￣)づ \n" +
                " _____         _             _____                 _          \n" +
                "|  _  |       | |           /  ___|               (_)         \n" +
                "| | | |_ __ __| | ___ _ __  \\ `--.  ___ _ ____   ___  ___ ___ \n" +
                "| | | | '__/ _` |/ _ \\ '__|  `--. \\/ _ \\ '__\\ \\ / / |/ __/ _ \\\n" +
                "\\ \\_/ / | | (_| |  __/ |    /\\__/ /  __/ |   \\ V /| | (_|  __/\n" +
                " \\___/|_|  \\__,_|\\___|_|    \\____/ \\___|_|    \\_/ |_|\\___\\___|\n");
    }
}
